//-----------------------------------------------------------------------------
// Bend2D - Physics Engine
// Roberto Bender <beto.bender@gmail.com>
// Description: 
// Date: 15/03/2010
//-----------------------------------------------------------------------------
#ifndef BOUNDARY_H
#define BOUNDARY_H

#include "line.h"
#include "drawable.h"
#include "collidable.h"
#include "fastcast.h"

namespace bend2d
{
    class Boundary :
        public Drawable,
        public Collidable,
        public FastCast
    {
    public:
        Boundary();
        Boundary(const Line& line);
        void SetLine(const Line& line);
        const Line& GetLine() const;
        Line& GetLine();

        // From Collidable //
        const Line& GetStaticLine() const;

        DRAWABLE;
        COLLIDABLE;

    private:
        Line m_Line;
    };
}

#endif
